<f:layout name="Default" />
<f:section name="Content">
<ul class="ul_mainmenu">
	<li><f:link.action controller="Standard" action="index">Start</f:link.action></li>
    <li><f:link.action controller="Gallery" action="index">Gallery</f:link.action></li>
    <li><f:link.action controller="Image" action="index">image</f:link.action></li>
</ul>
<ul>
	<li><f:link.action controller="Gallery" action="index">Gallery index</f:link.action></li>
    <li><f:link.action controller="Gallery" action="new">Gallery new</f:link.action></li>
    <li><f:link.action controller="Gallery" action="create">gallery create</f:link.action></li>
</ul>
<f:for each="{galleries}" as="gallery" key="number">
    <li>
    	<f:link.action controller="Gallery" action="edit" arguments="{gallery: gallery}">{gallery.galleryname}</f:link.action><br>
    </li>
</f:for>
</f:section>